import time
import re

a = "2023-01-11T06:03:35.076584386Z"
rac = re.match(r"[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{6}",a)
print(rac.group())
print(time.strptime(rac.group(), "%Y-%m-%dT%H:%M:%S.%f"))
